Experimental Study of Compressed Stack Algorithms in Limited Memory Environments

نویسندگان

  • Jean-François Baffier
  • Yago Diez
  • Matias Korman
چکیده

The compressed stack is a data structure designed by Barba et al. (Algorithmica 2015) that allows to reduce the amount of memory needed by an algorithm (at the cost of increasing its runtime). In this paper we introduce the first implementation of this data structure and make its source code publicly available. Together with the implementation we analyze the performance of the compressed stack. In our synthetic experiments, considering different test scenarios and using data sizes ranging up to 2 elements, we compare it with the classic (uncompressed) stack, both in terms of runtime and memory used. Our experiments show that the compressed stack needs significantly less memory than the usual stack (this difference is significant for inputs containing 2000 or more elements). Overall, with a proper choice of parameters, we can save a significant amount of space (from two to four orders of magnitude) with a small increase in the runtime (2.32 times slower on average than the classic stack). These results holds even in test scenarios specifically designed to be challenging for the compressed stack. Keywords— Stack algorithms, time-space trade-off, convex hull, implementation

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Chaotic Genetic Algorithm based on Explicit Memory with a new Strategy for Updating and Retrieval of Memory in Dynamic Environments

Many of the problems considered in optimization and learning assume that solutions exist in a dynamic. Hence, algorithms are required that dynamically adapt with the problem’s conditions and search new conditions. Mostly, utilization of information from the past allows to quickly adapting changes after. This is the idea underlining the use of memory in this field, what involves key design issue...

متن کامل

Clustering and Memory-based Parent-Child Swarm Meta-heuristic Algorithm for Dynamic Optimization

So far, various optimization methods have been proposed, and swarm intelligence algorithms have gathered a lot of attention by academia. However, most of the recent optimization problems in the real world have a dynamic nature. Thus, an optimization algorithm is required to solve the problems in dynamic environments well. In this paper, a novel collective optimization algorithm, namely the Clus...

متن کامل

ADMiner: An Incremental Data Mining Approach Using a Compressed FP-tree

In real world applications, most transaction databases are often large and constantly updated. Current data mining algorithms face the problem of processing a large number of transactions in dynamic environments. Since memory space is limited, it is critical to be able to use available storage efficiently and to process more transactions. In this paper, we propose an improved data structure of ...

متن کامل

An Experimental and Theoretical Investigation of Corrosion Mechanism in a Metallic Stack

This paper presents an experimental and theoretical investigation of the causes of corrosion of stack in a cement plant. In this paper, information related to metallic stack failures are given in the form of a case study in Neka Cement Plant, Mazandaran, Iran. Heavy corrosion attacks were observed on the samples of stack. The failure can be caused by one or more modes such as overheating, stres...

متن کامل

Solving computational and memory requirements of feature-based simultaneous localization and mapping algorithms

This paper presents new algorithms to implement simultaneous localisation and map building (SLAM) in environments with very large number of features. The algorithms present an efficient solution to the full update required by the Compressed Extended Kalman Filter algorithm (CEKF). It makes uses of the Relative Landmark Representation (RLR) to develop very close to optimal de-correlation solutio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1706.04708  شماره 

صفحات  -

تاریخ انتشار 2017